package com.ms.p2p.plugin.validation.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 字符串验证
 *
 *
 */
@Target({ ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
public @interface RequiredStringValidator {
	boolean trim() default true;

	String message() default "";

	String key() default "";

	String fieldName();
}
